package com.tanhua.domain.mg;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "recommend_user")
public class TodayBeautyMG implements Serializable {
        @Id//主键id
        private ObjectId id;
        @Indexed
        private Long userId;//今日佳人ID
        private Long toUserId;//用户的ID
        @Indexed
        private Double score;//缘分值
        private String date;//日期
}
